package com.bwda.dsrs.filecenter.domain.vo.scanresulttable;

import com.bwda.dsrs.filecenter.domain.vo.datatype.DataTypeVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
/**
 * @author Administrator
 */
@Data
@ApiModel(description = "敏感字段扫描结果表")
public class ScanResultTableListVo {

	@ApiModelProperty(value = "数据库id")
	private Integer dbId;
	@ApiModelProperty(value = "数据库ip")
	private String dbIp;
	@ApiModelProperty(value = "数据库名称")
	private String dbName;

	@ApiModelProperty(value = "表内容")
	private List<TableList> tableLists;

	@Data
	public static class TableList{
		@ApiModelProperty(value = "表名")
		private String tableName;

		@ApiModelProperty(value = "敏感标签")
		private String sensLabel;

		@ApiModelProperty(value = "分级名称")
		private String levelName;

		@ApiModelProperty(value = "类别编码A,A1,A1-1")
		private String typeCode;

		@ApiModelProperty(value = "类别名称")
		private String typeName;

	}
}